int command_tokens(char *str,char **token)
Parameter | Type | Description |
---|---|---|
str | char * | string to be processed |
token | char ** | string tokens |
Returns the number of tokens found in the string.
This function converts a string into tokens (fragments the string at its spaces).